package com.regent.central.bill.dto.sale_order;


import com.regent.central.bill.dto.CreateGoodsDTO;
import com.regent.central.bill.dto.RemarkDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * 销售单开单要货DTO
 *
 * @author 杨昌沛 646742615@qq.com
 * @date 2018-06-15 14:00
 **/
public class SaleOrderCreateGoodsDTO extends CreateGoodsDTO {
    /**
     * 开单货品ID
     */
    private String createGoodsId;
    /**
     * 开单动作SKU 单价
     */
    private BigDecimal price;

    /**
     * 优惠方式 例如：改价、8折、100/3
     */
    private String couponType;

    /**
     * 改价标识
     */
    private boolean priceChanged;

    /**
     * 打折
     */
    private BigDecimal discount;
    /**
     * 使用的模板id
     */
    private String couponTemplateId;

    /**
     * 开单要货备注
     */
    private List<RemarkDTO> remarks;

    public String getCreateGoodsId() {
        return createGoodsId;
    }

    public void setCreateGoodsId(String createGoodsId) {
        this.createGoodsId = createGoodsId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public boolean isPriceChanged() {
        return priceChanged;
    }

    public void setPriceChanged(boolean priceChanged) {
        this.priceChanged = priceChanged;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getCouponTemplateId() {
        return couponTemplateId;
    }

    public void setCouponTemplateId(String couponTemplateId) {
        this.couponTemplateId = couponTemplateId;
    }

    public List<RemarkDTO> getRemarks() {
        return remarks;
    }

    public void setRemarks(List<RemarkDTO> remarks) {
        this.remarks = remarks;
    }
}
